package com.zhijiaoyun.dao;

import com.zhijiaoyun.dao.core.IBaseDao;
import com.zhijiaoyun.model.FeedBack;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author shisfish
 * @date 2018/1/23
 */
public interface IFeedBackDao extends IBaseDao<FeedBack> {

    /**
     * count
     *
     * @param content
     * @return
     */
    int count(String content);

    /**
     * 分页查询
     *
     * @param beginIndex
     * @param pageSize
     * @param content
     * @return
     */
    List<FeedBack> page(@Param("beginIndex") int beginIndex, @Param("pageSize") int pageSize, @Param("content") String content);
}